package com.open.capacity.user.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: ftquan
 * @Date: [2018-08-21 23:00]
 * @Description: [ ]
 * @Version: [1.0.0]
 * @Copy: [com.zzg]
 */
@Data
public class SysCompanyExcel implements Serializable {

    private static final long serialVersionUID = -5886012896705137070L;

    private String id;

    @Excel(name = "编号",    height = 5, width = 20, isImportField = "true_st")
    private String code;
    @Excel(name = "简称",    height = 5, width = 20, isImportField = "true_st")
    private String shortName;
    @Excel(name = "名称", height = 5, width = 30, isImportField = "true_st")
    private String fullName;
    @Excel(name = "电话",    height = 5, width = 30, isImportField = "true_st")
    private String innerPhone;
    @Excel(name = "传真",    height = 5, width = 30, isImportField = "true_st")
    private String fax;
    @Excel(name = "邮编",    height = 5, width = 30, isImportField = "true_st")
    private String postCode;
    @Excel(name = "邮件",    height = 5, width = 30, isImportField = "true_st")
    private String email;
    @Excel(name = "负责人",    height = 5, width = 30, isImportField = "true_st")
    private String manager;
    private String provinceId;
    private String cityId;
    private String countyId;
    @Excel(name = "详细地址",    height = 5, width = 30, isImportField = "true_st")
    private String address;
    @Excel(name = "成立时间", databaseFormat = "yyyyMMddHHmmss", format = "yyyy-MM-dd HH:mm:ss", isImportField = "true_st", width = 20)
    private Date foundedTime;
    @Excel(name = "备注",    height = 5, width = 30, isImportField = "true_st")
    private String description;
    @Excel(name = "创建时间", databaseFormat = "yyyyMMddHHmmss", format = "yyyy-MM-dd HH:mm:ss", isImportField = "true_st", width = 20)
    private Date createTime;
    @Excel(name = "修改时间", databaseFormat = "yyyyMMddHHmmss", format = "yyyy-MM-dd HH:mm:ss", isImportField = "true_st", width = 20)
    private Date updateTime;
}
